package com.rawchen.model.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Description: 页面评论
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class PageComment {
	private Long id;
	/** 昵称 */
	private String nickname;
	/** 评论内容 */
	private String content;
	/** 头像(图片路径) */
	private String avatar;
	/** 评论时间 */
	private Date createTime;
	/** 个人网站 */
	private String website;
	/** 博主回复 */
	private Boolean adminComment;
	/** 父评论id */
	private String parentCommentId;
	/** 父评论昵称 */
	private String parentCommentNickname;
	/** 回复该评论的评论 */
	private List<PageComment> replyComments = new ArrayList<>();
}
